﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Test_LYK.Domain;

namespace Test_LYK.Controllers
{
    public class EatLogController : Controller
    {
        public ActionResult EatLogList()
        {
            var eatLogList = new EatLogDomain().GetEatLog();
            ViewBag.EatLogList = eatLogList;
            return View();
        }

        public bool HideLog(int logId)
        {
            return new EatLogDomain().HideLog(logId);
        }
    }
}